package com.c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author wangxiangli
 * @create 2022-12-31-12:57
 */
@Data
@TableName("t_address")
@Accessors(chain = true)
public class Address implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;//主键id
    @TableField("companyAddress")
    private String companyAddress;//医院地址
    @TableField("longitude")
    private Double longitude;//经度
    @TableField("latitude")
    private Double latitude;//纬度
}
